﻿// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Abp.Modules;
using Abp.Reflection.Extensions;
using GCT.Foundation.Localization;
using GCT.Foundation.UserLogs.Authorzation;

namespace GCT.Foundation
{

    [DependsOn(typeof(GCTSharedCoreModule))]
    public class FoundationTemplateCoreModule : AbpModule
    {
        public override void PreInitialize()
        {
            // 本地化配置
            Configuration.Localization.AddFoundationTemplateLocalization();
        }

        public override void Initialize()
        {
            // 注册程序集中的依赖
            IocManager.RegisterAssemblyByConvention(this.GetType().GetAssembly());
        }

        public override void PostInitialize()
        {
            base.PostInitialize();
        }

    }
}
